<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<title><?php echo ('[title]' == '['.'title'.']' ? C('WEBSITE_NAME') : '[title]');?></title>
	<meta name="viewport" content="initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <meta content="yes" name="apple-mobile-web-app-capable">
	<meta content="red" name="apple-mobile-web-app-status-bar-style">
	<meta name="format-detection" content="telphone=no">
	<link rel="stylesheet" href="/css/mall.css?modify=20161026">
	<link rel="stylesheet" href="/css/trade.css?modify=20161026">
	<link rel="stylesheet" href="/css/red.css">
	<script type="text/javascript">
	var require = {
		baseUrl: '/js',
		waitSeconds: 0,
		map: {
		  '*': {
			'css': '//cdn.bootcss.com/require-css/0.1.8/css.min.js',
			'text': '//cdn.bootcss.com/require-text/2.0.12/text.min.js'
		  }
		},
		shim: {
			swiper: ['jquery', 'css!//cdn.bootcss.com/Swiper/3.3.1/css/swiper.min.css'],
			lazyload: ['jquery'],
		},
		paths: {
            'jquery': '//cdn.bootcss.com/jquery/1.12.4/jquery.min',
			'template': 'template',
			'validatejs': '//cdn.bootcss.com/jquery-validate/1.15.0/jquery.validate.min',
			'weixinjs': 'https://res.wx.qq.com/open/js/jweixin-1.0.0',
			'lazyload': '//cdn.bootcss.com/jquery.lazyload/1.9.1/jquery.lazyload.min',
			'swiper': '//cdn.bootcss.com/Swiper/3.3.1/js/swiper.min',

			'mall/cart': 'h5.js?modify=20161026',
			'view/order/list': 'h5.js?modify=20161026',
			'view/balance': 'h5.js?modify=20161026',
			'module/cart/num': 'h5.js?modify=20161026',
			'order/address': 'h5.js?modify=20161026',
			'pay': 'h5.js?modify=20161026',
			'view/personal/edit': 'h5.js?modify=20161026',
			'view/personal/scoreDetail': 'h5.js?modify=20161026',
			'view/present/list': 'h5.js?modify=20161026',
			'view/score': 'h5.js?modify=20161026',
			'pay/express': 'h5.js?modify=20161026',
			'jsweixin': 'h5.js?modify=20161026',
			'skumodal': 'h5.js?modify=20161026',
			'customer_service': 'h5.js?modify=20161026',
			'order/refund': 'h5.js?modify=20161026',
			'model_pay_coupon': 'h5.js?modify=20161026',
			'login_modal': 'h5.js?modify=20161026',
			'member/collection': 'h5.js?modify=20161026',
            'pullfresh': 'h5.js?modify=20161026',
            'goods_list': 'h5.js?modify=20161026',
          	'search': 'h5.js?modify=20161026',
		}
	}
	</script>
	<?php if(IS_APP): ?><script type="text/javascript" src="/js/appcan.min.js"></script><?php endif; ?>
	<script data-main="/js/h5.js?modify=20161026" src="//cdn.bootcss.com/require.js/2.3.1/require.min.js"></script>
	<?php if(!APP_DEBUG){ require_once 'cs.php';echo '<img src="'._cnzzTrackPageView(1259294058).'" width="0" height="0" style="display:none;"/>'; } ?>

<style>
.tabber.tabber-n4 button, .tabber.tabber-n5 a {width:20%;}
.opt-btn{display:inline-block;margin-top:-6px;float:right}
.opt-btn .btn {margin-left: 5px;}
#order-list-container{margin-top:15px;padding-bottom: 15px;}
.name-card.name-card-3col .sum-desc{margin-left:68px;position:relative;width:100%}
.name-card.name-card-3col .sum-desc .pull-right{margin-right:-8px}
.tabber{position:fixed;top:0;right:0;left:0;z-index:999}
</style>

</head>
<body class="body-fixed">
	<div class="container" style="padding-top:38px">
		<div class="content clearfix ">
			<div id="nav_order_status" class="tabber tabber-red tabber-n5 tabber-double-11 top-fix clearfix">
				<a<?php echo ($status=='all'? ' class="active"' : ''); ?> href="#order_all" data-status="all">全部</a>
				<a<?php echo ($status=='topay'? ' class="active"' : ''); ?> href="#order_topay" data-status="topay">待付款</a>
				<a<?php echo ($status=='tosend'? ' class="active"' : ''); ?> href="#order_tosend" data-status="tosend">待发货</a>
				<a<?php echo ($status=='send'? ' class="active"' : ''); ?> href="#order_send" data-status="send">待收货</a>
				<a<?php echo ($status=='refund'? ' class="active"' : ''); ?> href="#order_refund" data-status="refund">退换货</a>
			</div>
			<div id="order-list-container">
        		<div id="order_all">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_topay">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_tosend">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_send">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_success">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_cancel">
					<ul class="js-list b-list"></ul>
        		</div>
        		<div id="order_refund">
					<ul class="js-list b-list"></ul>
        		</div>
			</div>
		</div>
	</div>
	<div id="shop-nav">
	<div class="shop-nav nav-menu nav-menu-1 has-menu-3">
		<div class="nav-special-item nav-item">
			<a href="/h5/mall" class="home jump_link">主页</a>
		</div>
		<div class="nav-item">
			<a class="mainmenu" href="http://mp.weixin.qq.com/s?__biz=MzI0NTQ3NzM2Ng==&mid=100004787&idx=1&sn=cf78c5f8fc9bd47bbafa73295f68d5bb&chksm=694ca92a5e3b203c67ac6ff97bb4c607e71f1994f4053ebbe6890d80e3b348d7c44cf312bcc9#rd">
				<span class="mainmenu-txt">在线客服</span>
			</a>
		</div>
	 	<div class="nav-item">
			<a href="/h5/list" class="mainmenu">
	 			<span class="mainmenu-txt">全部商品</span>
	 		</a>
		</div>
	 	<div class="nav-item">
	 		<a href="/h5/personal" class="mainmenu">
	 			<span class="mainmenu-txt">会员中心</span>
	 		</a>
	 	</div>
	</div>
    <link rel="stylesheet" href="/css/shopnav.css?modify=20160921" type="text/css" />
</div>
	<script type="text/javascript">
	require(['view/order/list']);
	</script>
</body>
</html>